/*
 * author      : dormi330
 * date        : 2018/6/27
 * description : 异常
 */

package com.deep.trade.common;

public class TradeException extends Exception {

    private int code;

    public TradeException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    public TradeException(String msg) {
        super(msg);
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
